let re=/\d+/g;
 let str="sa65sa76s8a7s6a87s6asas87a6sa786sa87s6asa98s7a";
 console.log(str.match(re));